import React from 'react'
import {
    HashRouter,
    Switch,
    Route
} from 'react-router-dom'
import Home from './pages/home'

import login from '../src/components/login'
 


class Router extends React.Component{
    render(){
        return(
           <HashRouter>
               <Switch>
               <Route path='/login' component={login}/>
                <Route path='/' component={Home}/>
               </Switch>
           </HashRouter>
        )
    }
}
export default Router